package com.ruoyi.sms.domain;


import com.google.gson.Gson;
import lombok.Data;

@Data
public final class SmsRecipient {
    public int statusCode;
    public String number;
    public String cost;
    public String status;
    public String messageId;
    public String errorMsg;

    public SmsRecipient(){

    }

    public SmsRecipient(int statusCode, String errorMsg){
        this.statusCode = statusCode;
        this.errorMsg = errorMsg;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
